package com.sinosoft.ptas.control.dto;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.sinosoft.framework.core.api.domain.RoleEntity;
/**
 * 角色Map传输数据类
 * @author lianWuJun
 * @time   2017年2月23日 上午9:09:10
 */
public class ResponseMapData implements Serializable{
	private static final long serialVersionUID = 1L;
	private boolean success;	//	成功标识
	private String errorCode;	//	错误代码
	private String errorMsg;	//	错误消息
	private Map<String, List<RoleEntity>> myValue;
	private List<String> myKey;
	
	public ResponseMapData(boolean success,
			Map<String, List<RoleEntity>> myValue, List<String> myKey) {
		super();
		this.success = success;
		this.myValue = myValue;
		this.myKey = myKey;
	}
	public ResponseMapData(boolean success, String errorCode, String errorMsg,
			Map<String, List<RoleEntity>> myValue, List<String> myKey) {
		super();
		this.success = success;
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
		this.myValue = myValue;
		this.myKey = myKey;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public Map<String, List<RoleEntity>> getMyValue() {
		return myValue;
	}
	public void setMyValue(Map<String, List<RoleEntity>> myValue) {
		this.myValue = myValue;
	}
	public List<String> getMyKey() {
		return myKey;
	}
	public void setMyKey(List<String> myKey) {
		this.myKey = myKey;
	}
}
